home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Systemmonitors / RSys / RSysSrc.lha / RSysEnum.h < prev    next >
Text File  |  1993-09-25  |  7KB  |  400 lines

  1. /*
  2. ***************************************************************************
  3. *
  4. * Datei:
  5. *    RSysEnum.h
  6. *
  7. * Inhalt:
  8. *
  9. * Bemerkungen:
  10. *    Enthält alle Nummern der verwendeten Gadgets und Menüs
  11. *    in RSys. Dient zur Verwaltung der Hilfe durch AmigaGuide.
  12. *
  13. * Erstellungsdatum:
  14. *    17-Jul-93    Rolf Böhme
  15. *
  16. * Änderungen:
  17. *    17-Jul-93    Rolf Böhme    Erstellung
  18. *
  19. ***************************************************************************
  20. */
  21.  
  22. enum RSysNumbers {
  23. /* Main Gadgets */
  24.     GD_TasksGad = 0,
  25.     GD_LibrariesGad,
  26.     GD_MemoryGad,
  27.     GD_PortsGad,
  28.     GD_VolumesGad,
  29.     GD_AssignsGad,
  30.     GD_FontsGad,
  31.     GD_ResourcesGad,
  32.     GD_InterruptsGad,
  33.     GD_WindowsGad,
  34.     GD_ScreensGad,
  35.     GD_HandlerInpGad,
  36.     GD_SystemGad,
  37.     GD_HardwareGad,
  38.     GD_SaveListGad,
  39.     GD_JumpGad,
  40.     GD_ListeLV,
  41.     GD_TextHeader,
  42.     GD_InfoMsgGad,
  43.    GD_NewGad,
  44.  
  45. /* Action Gadgets */
  46.     GD_FileTypeTGad,
  47.     GD_ActionLV,
  48.     GD_FInfo,
  49.     GD_NextEntryGad,
  50.  
  51. /* CRC Gadgets */
  52.     GD_FileTGad,
  53.     GD_TypeCRCCYGad,
  54.     GD_SelectFileGad,
  55.     GD_CRCTGad,
  56.     GD_ComputeGad,
  57.  
  58. /* Crypt */
  59.     GD_SourceStrGad,
  60.     GD_CryptStrGad,
  61.     GD_SelSourceGad,
  62.     GD_SelDestGad,
  63.     GD_CryptGad,
  64.     GD_DeccryptGad,
  65.     GD_PwdGad,
  66.     GD_TypeCYGad,
  67.  
  68. /* Find */
  69.     GD_DeviceLV,
  70.     GD_SelDevLV,
  71.     GD_PatternGad,
  72.     GD_StartStopGad,
  73.     GD_FoundLV,
  74.     GD_SaveFoundListGad,
  75.     GD_AllGad,
  76.     GD_NoneGad,
  77.     GD_CaseCYGad,
  78.     GD_DirFileCYGad,
  79.  
  80. /* Format */
  81.     GD_FormatStrGad,
  82.     GD_SelFormatGad,
  83.     GD_DevLV,
  84.     GD_NameGad,
  85.     GD_IconsGad,
  86.     GD_FSCYGad,
  87.     GD_InterCYGad,
  88.     GD_FmtStrGad,
  89.     GD_FormatGad,
  90.     GD_QuickGad,
  91.     GD_CancelGad,
  92.  
  93. /* Hunks */
  94.     GD_TreeLV,
  95.     GD_SaveGad,
  96.     GD_KindCY,
  97.  
  98. /* Taskpriority */
  99.     GD_TaskGad,
  100.     GD_PrioGad,
  101.     GD_OkGad,
  102.     GD_CancelPriGad,
  103.     GD_PriIntGad,
  104.  
  105. /* Save windows */
  106.     GD_WindowsLVGad,
  107.     GD_SaveIFFGad,
  108.     GD_ResetWinGad,
  109.  
  110. /* Show Font */
  111.     GD_NormalCGad,
  112.     GD_ItalicCGad,
  113.     GD_BoldCGad,
  114.     GD_UnderlineCGad,
  115.  
  116. /* Text Formatter */
  117.     GD_PrefixSGad,
  118.     GD_PostFixSGad,
  119.     GD_BlankLeftCGad,
  120.     GD_QuoteCGad,
  121.     GD_NoHeaderCGad,
  122.     GD_TextTGad,
  123.     GD_UseGad,
  124.     GD_NoFormatGad,
  125.  
  126. /* Search Routine */
  127.    GD_SearchSGad,
  128.    GD_SearchOkGad,
  129.    GD_SearchCancelGad,
  130.  
  131.    MAIN_HELP,
  132.  
  133. /* Menus */
  134.  
  135. /* Project */
  136.    MN_Iconify,
  137.    MN_ShowStatus,
  138.    MN_SaveConfiguration,
  139.    MN_About,
  140.    MN_quit,
  141.  
  142. /* Other Lists */
  143.    MN_SysSoftDeviceList,
  144.    MN_SysVectorList,
  145.    MN_SysCLIList,
  146.    MN_SysSemaphoreList,
  147.    MN_RSysLockList,
  148.    MN_SysResidentProg,
  149.    MN_SysResidentList,
  150.    MN_RSysGetDisplayModes,
  151.    MN_SysBlitterWaitList,
  152.    MN_SysTOFWaitList,
  153.    MN_SysAvailFontsList,
  154.    MN_SysPubScreenList,
  155.    MN_RSysGadgetList,
  156.    MN_SysPrefList,
  157.    MN_SysExtPrinterData,
  158.    MN_SysEnvList,
  159.    MN_SysBrokerList,
  160.    MN_RSysAmigaGuideRefList,
  161.  
  162. /* Actions */
  163.    MN_CRCSum,
  164.    MN_CryptFile,
  165.    MN_HunkStruct,
  166.    MN_FindFile,
  167.    MN_FormatDisk,
  168.    MN_SaveWindows,
  169.    MN_SysCheckOffs,
  170.  
  171. /* Internal List */
  172.    MN_SaveCurrentList,
  173.    MN_RestoreList,
  174.    MN_KillList,
  175.  
  176. /* Flushing */
  177.    MN_RSysFlushAllLibraries,
  178.    MN_RSysFlushAllFonts,
  179.    MN_RSysFlushAll,
  180.  
  181. /* Clip */
  182.    MN_RSysEntryToClip,
  183.    MN_RSysListToClip,
  184.  
  185. /* Flags */
  186.    MN_ToggleFastMode,
  187.    MN_ToggleSortMode,
  188.    MN_ToggleWorkingBar,
  189.    MN_ToggleAutoFront,
  190.    MN_ToggleMouseWindow,
  191.    MN_ToggleTopazFont,
  192.    MN_ToggleSpeakMode,
  193.    MN_ToggleAskingMode,
  194.    MN_TextFormatter,
  195.  
  196. /* External Data */
  197.    MN_ReloadActionFile,
  198.    MN_Reloadhardwaredatas,
  199.    MN_Reloadlibraryoffsets,
  200.    MN_ReloadAGuidecontextnodes,
  201.  
  202. /* Search */
  203.    MN_FindNext,
  204.    MN_FindPrev,
  205.    MN_Search,
  206.  
  207. /* Speicher Monitor */
  208.    GD_MemoryLVGad,
  209.    GD_DisplayCYGad,
  210.    GD_SaveCGad,
  211.    GD_ASCIIGad,
  212.    GD_SaveHexGad,
  213.    GD_SaveAsIsGad,
  214.    GD_PageBackwardGad,
  215.    GD_PageForwardGad,
  216.    GD_AddressTGad,
  217.    GD_StartAdrTGad,
  218.    GD_StartAdrGad,
  219.    GD_EntryInfo,
  220.    GD_HeaderLine,
  221.    MONITOR,
  222.    MAXENTRY
  223. };
  224.  
  225. enum {
  226.     TYPE_DIR,                    /*  0  */
  227.     TYPE_FILE,                    /*  1  */
  228.     TYPE_ICON,                    /*  2  */
  229.     TYPE_TEXT,                    /*  3  */
  230.     TYPE_C,                        /*  4  */
  231.     TYPE_H,                        /*  5  */
  232.     TYPE_ASM,                    /*  6  */
  233.     TYPE_I,                        /*  7  */
  234.     TYPE_MOD,                    /*  8  */
  235.     TYPE_REXX,                    /*  9  */
  236.     TYPE_BASIC,                 /*  10 */
  237.     TYPE_TEX,                    /*  11 */
  238.     TYPE_METAFONT,             /*  12 */
  239.     TYPE_GF,                     /*  13 */
  240.     TYPE_TEXFONT,                /*  14 */
  241.     TYPE_TEXDVI,                /*  15 */
  242.     TYPE_FLIB,                    /*  16 */
  243.     TYPE_OLDMANX,                /*  17 */
  244.     TYPE_NEWMANX,                /*  18 */
  245.     TYPE_OLDMANXLIB,            /*  19 */
  246.     TYPE_NEWMANXLIB,            /*  20 */
  247.     TYPE_OBJECT,                /*  21 */
  248.     TYPE_LIB,                    /*  22 */
  249.     TYPE_EXECUTABLE,            /*  23 */
  250.     TYPE_LIBRARY,                /*  24 */
  251.     TYPE_DEVICE,                /*  25 */
  252.     TYPE_FILESYS,                /*  26 */
  253.     TYPE_HANDLER,                /*  27 */
  254.     TYPE_GIF,                    /*  28 */
  255.     TYPE_ILBM,                    /*  29 */
  256.     TYPE_ANIM,                    /*  30 */
  257.     TYPE_8SVX,                    /*  31 */
  258.     TYPE_SMUS,                    /*  32 */
  259.     TYPE_FTXT,                    /*  33 */
  260.     TYPE_PREFS,                 /*  34 */
  261.     TYPE_TERM,                    /*  35 */
  262.     TYPE_IMPLODER,             /*  36 */
  263.     TYPE_POWERPACKER,         /*  37 */
  264.     TYPE_ARC,                    /*  38 */
  265.     TYPE_LHARC,                 /*  39 */
  266.     TYPE_ZOO,                    /*  30 */
  267.     TYPE_ZIP,                    /*  41 */
  268.     TYPE_DMS,                    /*  42 */
  269.     TYPE_WARP,                    /*  43 */
  270.     TYPE_ZOOM,                    /*  44 */
  271.     TYPE_WORDPERFECT            /*  45 */
  272. };
  273.  
  274. enum ListTypes {
  275.     TASKS,                        /*  0  */
  276.     LIBRARIES,                    /*  1  */
  277.     MEMORY,                        /*  2  */
  278.     PORTS,                        /*  3  */
  279.     VOLUMES,                     /*  4  */
  280.     ASSIGNS,                     /*  5  */
  281.     FONTS,                        /*  6  */
  282.     RESOURCES,                    /*  7  */
  283.     INTERRUPTS,                 /*  8  */
  284.     WINDOWS,                     /*  9  */
  285.     SCREENS,                     /*  10 */
  286.     INPUTHDL,                    /*  11 */
  287.     SYSINFO,                     /*  12 */
  288.     HARDWARE,                    /*  13 */
  289.     HELP,                         /*  14 */
  290.     PREFS,                        /*  15 */
  291.     DEVS,                         /*  16 */
  292.     ALLFONTS,                    /*  17 */
  293.     ENVVARS,                     /*  18 */
  294.     CLI,                            /*  19 */
  295.     RESIDENTS,                    /*  20 */
  296.     SEMAPHORES,                 /*  21 */
  297.     SYSVECTORS,                 /*  22 */
  298.     SYSSOFTDEV,                 /*  23 */
  299.     SYSPUBSCR,                    /*  24 */
  300.     BLITTERWAIT,                /*  25 */
  301.     TOFWAIT,                     /*  26 */
  302.     COMMODITIES,                /*  27 */
  303.     PRINTERDATA,                /*  28 */
  304.     LIBRARYOFFS,                /*  29 */
  305.     DISPLAYMODES,                /*  30 */
  306.     VOLLOCKS,                    /*  31 */
  307.     AGUIDEXREF,                 /*  32 */
  308.     ALLGADGETS,                    /*  33 */
  309.     MEMORYAREAS,                /*  34 */
  310.    FAULTMSG,               /*  35 */
  311.    LASTTYPE                /*  36 */
  312. };
  313.  
  314. enum err_objects {
  315.     BROKER_ERR,
  316.     PORT_ERR,
  317.     FILE_ERR,
  318.     SCREEN_ERR,
  319.     WINDOW_ERR,
  320.     LIBRARY_ERR,
  321.     DEVICE_ERR,
  322.     ICON_ERR,
  323.     GADGET_ERR,
  324.    MENU_ERR,
  325.     ENV_ERR,
  326.     DOS_EXALL_ERR,
  327.     FONT_ERR,
  328.     LIST_NODE_ERR,
  329.     MEMORY_ERR,
  330.     TASK_ERR,
  331.     CLIPBOARD_ERR,
  332.    OWN_OBJECT_ERR,
  333.    DATA_ENTRY_ERR,
  334.    OBJECT_CONTEXT_ERR,
  335.     MISC_ERR
  336. };
  337.  
  338. enum err_actions {
  339.     DUPLICATE_FAIL,
  340.     CREATE_FAIL,
  341.     FIND_FAIL,
  342.     KILL_FAIL,
  343.     OPEN_FAIL,
  344.     READ_FAIL,
  345.     WRITE_FAIL,
  346.     EXALL_FAIL,
  347.     SIZE_FAIL,
  348.     SAVED_FAIL,
  349.     WRONG_FAIL,
  350.     INFO_FAIL,
  351.     EXIST_FAIL,
  352.     TYPE_FAIL,
  353.     ALLOC_FAIL,
  354.    MODIFY_FAIL,
  355.    LOCK_FAIL
  356. };
  357.  
  358. enum _field {
  359.     NO_FIELD,
  360.     NO_LIB_ID,
  361.     NO_FLAGS,
  362.     NO_TASK,
  363.     NO_NODE,
  364.     WRONG_TYPE_FMT,
  365.     NO_TYPE,
  366.     NO_TITLE,
  367.     NO_BAUD,
  368.     NO_PARITY,
  369.     NO_HANDSHK,
  370.     NO_HANDLER,
  371.     NO_FILE,
  372.     NO_LOCK,
  373.     BLANK_FIELD,
  374.    NO_FD_FIELD,
  375.    HAS_IMAGE,
  376.    UNKNOWN_FIELD
  377. };
  378.  
  379. enum _types
  380. {
  381.    END,
  382.    MANU_NR,
  383.    PROD_NR,
  384.    TYPE_NR,
  385.    NAME_STR,
  386.    COMPANY,
  387.    UNKNOWN
  388. };
  389.  
  390. enum _lotypes
  391. {
  392.    LO_END,
  393.    LO_LIBNAME,
  394.    LO_TYP,
  395.    LO_BASE,
  396.    LO_FUNCTION,
  397.     LO_UNKNOWN
  398. };
  399.  
  400.